//
//  ACController.h
//  GKBHouse
//
//  Created by  on 12-7-1.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NewEquipment.h"
#import "DeviceView.h"
@interface ACController : UIViewController
{
    IBOutlet UIButton *OnOff;
    
    IBOutlet UILabel *COOL;
    IBOutlet UILabel *HOT;
    IBOutlet UILabel *windSpeed;
    IBOutlet UILabel *func;
    
    IBOutlet UIButton *up;
    IBOutlet UIButton *down;
    
    IBOutlet UIButton *wind;
    IBOutlet UIButton *autos;
    IBOutlet UIButton *high;
    IBOutlet UIButton *middle;
    IBOutlet UIButton *low;
}
@property (retain)NewEquipment *equipment;
@property (retain)NSString *ctrOrder;

- (id)initWithEquipment:(NewEquipment*)equ;
- (void)initLabel;
- (void)initTopBar;
- (void)closeView;
#pragma mark - order
- (IBAction)C16;
- (IBAction)C18;
- (IBAction)C20;
- (IBAction)C22;
- (IBAction)C24;
- (IBAction)C26;
- (IBAction)C28;
- (IBAction)C30;
- (IBAction)COOL;
- (IBAction)HOT;
- (IBAction)BLOWDOWN;
- (IBAction)DEHUMIDIFIER;
- (IBAction)AUTO;
- (IBAction)LOW;
- (IBAction)MID;
- (IBAction)HIGH;
- (IBAction)UPWIND;
- (IBAction)DOWNWIND;
#pragma mark - 控制AC
- (void)ctrAC:(NSString *)ORDER;
- (void)ctrACEnd:(NSDictionary *)dic;
@end
